package com.oa.mapper;

import com.oa.pojo.UserRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author wsrwy
* @description 针对表【user_role】的数据库操作Mapper
* @createDate 2023-10-22 20:57:53
* @Entity com.oa.pojo.UserRole
*/
@Mapper
public interface UserRoleMapper {
    //条件查询
    List<UserRole> selectAll(UserRole userRole);
    //删除
    int deleteUserRole(UserRole userRole);
    //修改
    int updateUserRole(UserRole userRole);
    //添加
    int insertUserRole(UserRole userRole);
}




